﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Sys.Master"Inherits="System.Web.Mvc.ViewPage<DAL.SysPerson>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    人员
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        人员</h2>
    <fieldset>
        <legend>
            <%: Html.ActionLink("返回列表", "Index") %>
        </legend>
        <div class="bigdiv">
                  
                <div class="display-label">
                      <%: Html.LabelFor(model => model.Name) %>
                </div>
                <div class="display-field">
                    <%: Model.Name %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.MyName) %>
                </div>
                <div class="display-field">
                    <%: Model.MyName %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.Password) %>
                </div>
                <div class="display-field">
                    <%: Model.Password %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.SurePassword) %>
                </div>
                <div class="display-field">
                    <%: Model.SurePassword %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.MobilePhoneNumber) %>
                </div>
                <div class="display-field">
                    <%: Model.MobilePhoneNumber %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.PhoneNumber) %>
                </div>
                <div class="display-field">
                    <%: Model.PhoneNumber %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.Address) %>
                </div>
                <div class="display-field">
                    <%: Model.Address %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.EmailAddress) %>
                </div>
                <div class="display-field">
                    <%: Model.EmailAddress %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.State) %>
                </div>
                <div class="display-field">
                    <%: Model.State %>
                </div>        
                <div class="display-label">
                    <%: Html.LabelFor(model => model.CreateTime) %>
                </div>
                <div class="display-field">
                    <%: String.Format("{0:g}", Model.CreateTime) %>
                </div>      
                <div class="display-label">
                      <%: Html.LabelFor(model => model.CreatePerson) %>
                </div>
                <div class="display-field">
                    <%: Model.CreatePerson %>
                </div>    
                <div class="display-label">
                      <%: Html.LabelFor(model => model.SysDepartmentId) %>
                </div>
                <div class="display-field">            
                    <% string ids13 = string.Empty;
                       foreach (var item13 in Model.SysDepartment)
                       {
                           ids13 += item13.Name;
                           ids13 += " , ";
                    %>               
                    <%}%>
                    <div class="display-field">
                        <%= ids13 %>   
                    </div>
                </div>    
                <div class="display-label">
                      <%: Html.LabelFor(model => model.SysRoleId) %>
                </div>
                <div class="display-field">            
                    <% string ids14 = string.Empty;
                       foreach (var item14 in Model.SysRole)
                       {
                           ids14 += item14.Name;
                           ids14 += " , ";
                    %>               
                    <%}%>
                    <div class="display-field">
                        <%= ids14 %>   
                    </div>
                </div>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script type='text/javascript'>
        $(function () {
            $("a").button();
            popTextArea($("textarea"));
            
        });
    </script>
</asp:Content>

